package com.atguigu.system.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2025-03-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("biz_inventory_flow")
@ApiModel(value="InventoryFlow对象", description="")
public class InventoryFlow implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "flow_id", type = IdType.AUTO)
    private Integer flowId;

    @ApiModelProperty(value = "关联的库存记录 ID")
    private Integer inventoryId;

    @ApiModelProperty(value = "操作人 ID")
    private Integer operatorId;

    @ApiModelProperty(value = "操作人姓名")
    private String operatorName;

    @ApiModelProperty(value = "操作类型（入库、出库等）")
    private String operationType;

    @ApiModelProperty(value = "变动数量")
    private Integer changeQuantity;

    @ApiModelProperty(value = "操作原因")
    private String operationReason;

    @ApiModelProperty(value = "操作时间")
    private LocalDateTime operationTime;


}
